<template>
  <div class="bgc-default pad-20">
    <div class="bg-color-white pad-20 mar-t-20">
      <two-partner-shop-commission v-if="commissionType == 1"></two-partner-shop-commission>
      <two-partner-anchor-commission v-if="commissionType == 2"></two-partner-anchor-commission>
    </div>
  </div>
</template>


<style scoped>

</style>

<script>
  import TwoPartnerShopCommission from '../components/two-partner-shop-commission'
  import TwoPartnerAnchorCommission from '../components/two-partner-anchor-commission'

  export default {
    components: { TwoPartnerShopCommission, TwoPartnerAnchorCommission },
    data() {
      return {
        commissionType: '1'
      }
    },
    // 初始化页面
    created() {
      const queryParams = this.getCurrentPage().query
      this.commissionType = queryParams.commissionType || '1'
    },
    methods: {
    }
  }

</script>
